package org.zn.mvcbase.validate;

import javax.validation.constraints.Null;

/**
 * @ProjectName:91isoft_framework_web
 * @Description: 
 * @Copyright: Copyright (c) 2016

 * @author: 周楠
 * @date 2016年6月12日 下午2:50:33
 */

public class ValidatedException extends RuntimeException{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ValidatedResult vr;

	public ValidatedResult getVr() {
		return vr;
	}

	public void setVr(ValidatedResult vr) {
		this.vr = vr;
	}

	public  ValidatedException(String message){
		super(message);
	}
	
    public  ValidatedException(ValidatedResult vr,String message){
    	super(message);
		this.vr=vr;
	}
    
    
    

}
